<?php
/**
 *
 * PHP 5
 *
 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
 *
 * Licensed under The MIT License
 * For full copyright and license information, please see the LICENSE.txt
 * Redistributions of files must retain the above copyright notice.
 *
 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
 * @link          http://cakephp.org CakePHP(tm) Project
 * @package       app.View.Layouts
 * @since         CakePHP(tm) v 0.10.0.1076
 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
 */
?>
<!DOCTYPE html>
<html>
    <head>
        <?php echo $this->Html->charset(); ?>
        <title>

            <?php echo $title_for_layout; ?>
        </title>
        
        <!--[if IE 6]><link rel="stylesheet" type="text/css" media="screen" href="style/css/ie6.css" /><![endif]-->
        <!--[if IE 7]><link rel="stylesheet" type="text/css" media="screen" href="style/css/ie7.css" /><![endif]-->
        <!-- JavaScripts-->        
        <?php
        echo $this->Html->meta('icon');
        echo $this->Html->script('jquery-1.9.0.min');
        echo $this->Html->script('ckeditor/ckeditor.js');
        //echo $this->Html->script('jNice');
        echo $this->Html->script('functions.js');
        
        echo $this->Html->css('transdmin');
        
        echo $this->fetch('meta');
        echo $this->fetch('css');
        echo $this->fetch('script');
        echo $this->Js->writeBuffer(); 
        
        ?>
      
        
        
    </head>
    <body>
        <div id="loader"><table border="0" width="100%" height="100%"><tr><td align="center"><?php echo $this->Html->image('loader.gif',array('class'=>'hide'))?></td></tr></table></div>
        <div id="wrapper">     
        
                    <ul id="mainNav">
                        <li><?php echo $this->Html->link('Tartalom', array('controller' => 'contents', 'action' => 'admin_index')); ?></li>
                        <li><?php echo $this->Html->link('Fejléc képek', array('controller' => 'headerimages', 'action' => 'admin_index')); ?></li>
                        <li><?php echo $this->Html->link('Profil', array('controller' => 'users', 'action' => 'admin_profile')); ?></li>
                        <li class="logout"><?php echo $this->Html->link('Kijelentkezés', array('controller' => 'users', 'action' => 'logout', 'admin' => false)); ?></li>
                    </ul>
            <?php echo $this->Session->flash(); ?>
            <div id="containerHolder">
                <div id="container">
                        <?php echo $this->fetch('content');echo $this->Js->writeBuffer();  ?>
                </div>
            </div>
            <p id="footer">Tartalom kezelő rendszer</p>
            </div>
    </body>
</html>
